#include "Audio.h"
#include "app_common.h"

int user_audio_init(void)
{
}

int user_audio_deinit(void)
{
}

int user_audio_aenc_start(int chn, AudioAencDataCallback pfnAencDataCb)
{
}

int user_audio_aenc_stop(int chn, AudioAencDataCallback pfnAencDataCb)
{
}

int user_audio_copy_data(int chn, void *data, MEDIA_PACK_AUDIO *pstPackAudio, int maxSize)
{
}

int user_audio_play_file_start(char *audioFile, AUDIO_ENCODE_TYPE_E enAudioType, char bLoop)
{
}

int user_audio_play_file_stop(void)
{
}

int user_audio_set_ao_volume(int volume)
{

}

int user_audio_set_play_volume(PLAY_VOLUME_CONFIG stPlayVol)
{
}

int user_audio_get_play_volume(PLAY_VOLUME_CONFIG *pstPlayVol)
{
}

int user_audio_talkback_start(void)
{
}

int user_audio_talkback_data(unsigned char *pData, int nLen, AUDIO_ENCODE_TYPE_E enAudioType)
{
}

int user_audio_talkback_stop(void)
{
}

static AUDIO_OPS_FUNC_S gs_stUserAudioFuncOps = {
    .init                   = user_audio_init,
    .deinit                 = user_audio_deinit,

    .audio_aenc_start       = user_audio_aenc_start,
    .audio_aenc_stop        = user_audio_aenc_stop,

    .audio_copy_data        = user_audio_copy_data,

    .play_file_start        = user_audio_play_file_start,
    .play_file_stop         = user_audio_play_file_stop,

    .set_ao_volume          = user_audio_set_ao_volume,
    .set_play_volume        = user_audio_set_play_volume,
    .get_play_volume        = user_audio_get_play_volume,

    .talkback_start         = user_audio_talkback_start,
    .talkback_data          = user_audio_talkback_data,
    .talkback_stop          = user_audio_talkback_stop,
};

AUDIO_OPS_FUNC_S *user_audio_ops_handle(void)
{
	return &gs_stUserAudioFuncOps;
}


